﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JacOS.Programs
{
    class myinfo
    {
        public static void run()
        {
            if (MyGlobals.user == users.Users.jacob)
            {
                Console.Write("\n" + users.jacob.info);
                Console.Write("\nLevel value (1-4): " + users.jacob.levelv);
            }
            else if (MyGlobals.user == users.Users.vinney)
            {
                Console.Write("\n" + users.vinney.info);
                Console.Write("\nLevel value (1-4): " + users.vinney.levelv);
            }
            else if (MyGlobals.user == users.Users.admin)
            {
                Console.Write("\n" + users.admin.info);
                Console.Write("\nLevel value (1-4): " + users.admin.levelv);
            }
            else if (MyGlobals.user == users.Users.user)
            {
                Console.Write("\n" + users.user.info);
                Console.Write("\nLevel value (1-4): " + users.user.levelv);
            }
            else if (MyGlobals.user == users.Users.guest)
            {
                Console.Write("\n" + users.guest.info);
                Console.Write("\nLevel value (1-4): " + users.guest.levelv);
            }
        }
    }
}
